import request from '@/utils/request'



//  查询理赔模型列表
export function getClaimsModelList(params) {
    return request({
        url: '/business/claimsModel/list',
        method: 'get',
        params
    })
}

//  增加理赔模型
export function addClaimsModel(data) {
    return request({
        url: '/business/claimsModel/addData',
        method: 'post',
        data
    })
}

//  更新理赔模型
export function updateClaimsModel(data) {
    return request({
        url:'/business/claimsModel/updateData',
        method:'post',
        data
    })
}

//  删除理赔模型
export function delClaimsModel(params) {
    return request({
        url:`/business/claimsModel/deleteData`,
        method:'delete',
        params
    })
}

//  获取理赔模型详情
export function getClaimsModelById(params){
    return request({
        url: `/business/claimsModel/getDetail`,
        method: 'get',
        params
    })
}

//  导入理赔模型
export function importClaimsModel(data) {
    return request({
        url:'/business/claimsModel/importClaimsModelData',
        method:'post',
        data
    })
}

//文件导入路径
export  const uploadUrl = '/fileSystem/fileUpload/uploadFile'



